package com.ruicar.afs.cloud.basic.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.common.modules.contract.enums.ContractStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName StaySettleCondition
 * @Description: 试算结果
 * @Author zyr
 * @Date 2020/6/18
 * @Version V1.0
 **/
@Data
public class SettleResultVo {

    /** 合同号码 */
    @ApiModelProperty("合同号码")
    private String contractNo;

    /** 合同状态 枚举值：合同取消、合同生效、正常结清、提前结清、核销 */
    @ApiModelProperty("合同状态 枚举值：合同取消、合同生效、正常结清、提前结清、核销")
    private ContractStatusEnum contractStatus;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("提前还款日期")
    private Date calDate;

    @ApiModelProperty("还款方式")
    private String repaymentMethod;

    @ApiModelProperty("已还期数")
    private Integer paymentPeroid;

    @ApiModelProperty("未偿本金")
    private BigDecimal unpayedCaptial;

    @ApiModelProperty("未偿利息")
    private BigDecimal totalUnpaidInterest;

    @ApiModelProperty("未偿金额")
    private BigDecimal totalUnpaidCost;

    @ApiModelProperty("逾期租金")
    private BigDecimal overdueAmount;

    @ApiModelProperty("利息应收")
    private BigDecimal interestReceivable;

    @ApiModelProperty("未付逾期利息")
    private BigDecimal unpayedOverdueInterest;

    @ApiModelProperty("提前终止费用")
    private BigDecimal prepaymentCharge;

    @ApiModelProperty("应计逾期利息")
    private BigDecimal overdueInterestReceivable;

    @ApiModelProperty("提前终止金额")
    private BigDecimal prepaymentCost;

    @ApiModelProperty("杂费")
    private BigDecimal otherCost;

    @ApiModelProperty("未分配金额")
    private BigDecimal unusedDeposit;

    @ApiModelProperty("豁免单费用")
    private BigDecimal exemptBillCost;

    @ApiModelProperty("最大豁免单费用")
    private BigDecimal exemptBillCostMax;

    @ApiModelProperty("最小豁免单费用")
    private BigDecimal exemptBillCostMin;

    @ApiModelProperty("豁免费用")
    private BigDecimal exemptAmount;

    @ApiModelProperty("豁免罚息")
    private BigDecimal exemptOverdueInterest;

    @ApiModelProperty("应收净额")
    private BigDecimal receivableAmount;

}
